package com.bridgeintelligent.tag.webserver.security;

import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public class QuickBeanFactory extends BeanFactoryAdapter {

    public static boolean containsBean( String name ) {
        return BeanFactoryAdapter.containsBean( name );
    }

    public static <T> T getBean( String name, Class<T> clazz ) {
        return BeanFactoryAdapter.getBean( name, clazz );
    }

    public static <T> Map<String, T> getBeans( Class<T> clazz ) {
        return BeanFactoryAdapter.getBeans( clazz );
    }

}
